.s-notice-bar {
  font-size: $notice-bar-font-size;
  line-height: $notice-bar-line-height;
  position: relative;
  display: flex;
  align-items: center;
  height: $notice-bar-height;
  padding: $notice-bar-padding;
  color: $notice-bar-text-color;
  background: $notice-bar-background;

  ::v-deep &__left-icon,
  ::v-deep &__right-icon {
    font-size: $notice-bar-icon-size;
    min-width: $notice-bar-icon-min-width;
  }

  ::v-deep &__right-icon {
    cursor: pointer;
    text-align: right;
  }

  &__wrap {
    position: relative;
    display: flex;
    overflow: hidden;
    align-items: center;
    flex: 1;
    height: 100%;
  }

  &__content {
    position: absolute;
    transition-timing-function: linear;
    white-space: nowrap;

    &.s-ellipsis {
      max-width: 100%;
    }
  }

  &--wrapable {
    height: auto;
    padding: $notice-bar-wrapable-padding;

    .s-notice-bar {
      &__wrap {
        height: auto;
      }

      &__content {
        position: relative;
        white-space: normal;
        word-wrap: break-word;
      }
    }
  }

  &__swiper {
    width: 100%;
    height: 100%;

    &-item {
      display: flex;
      align-items: center;
    }
  }

  &--vertical {
    .s-notice-bar {
      &__wrap {
        height: 100%;
      }

      &__content {
        width: 100%;
        height: 100%;
        position: relative;
        white-space: normal;
        word-wrap: break-word;
      }
    }
  }
}